home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3frsurf.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_FRSURFACE_H = 1;
- include("real/raytr/r3frhob.js")
- include("oops/r3vector.js")
-
-
- var R3CLID_FRSURFACE = 438;
-
-
-
-
-
- R3FRSURFM_ISRENDERCLASS = 438000;
-
- function mR3FRSURFM_ISRENDERCLASS() {
- DoA(this.r3obj, 438000, 0, R3TID_INTEGER, 0);
- }
-
-
- R3FRSURFM_CHANNELQUERY = 438001;
-
- function mR3FRSURFM_CHANNELQUERY() {
- DoA(this.r3obj, 438001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: enumerates material etc. objects mapped to this surface * by R3SendMsgA(cbobj, cbmth, mappedobject);
-
- R3FRSURFM_ENUMMAPPEDOBJECTS = 438002;
-
- function mR3FRSURFM_ENUMMAPPEDOBJECTS() {
- DoA(this.r3obj, 438002, 0, R3TID_INTEGER, 0);
- }
-
-
-
-
- R3FRSURFA_PointRenderAttrs = 438501;
- function SetR3FRSURFA_PointRenderAttrs(value) {
- R3Set(this.r3obj, R3FRSURFA_PointRenderAttrs, value, R3TID_OBJECT, 0);
- }
-
- function GetR3FRSURFA_PointRenderAttrs() {
- return R3ToJS(R3Get(this.r3obj, R3FRSURFA_PointRenderAttrs, R3TID_OBJECT, 0));
- }
-
- R3FRSURFA_MinU = 438503;
- function GetR3FRSURFA_MinU() {
- return R3Get(this.r3obj, R3FRSURFA_MinU, R3TID_FLOAT, 0);
- }
-
- R3FRSURFA_MaxU = 438504;
- function GetR3FRSURFA_MaxU() {
- return R3Get(this.r3obj, R3FRSURFA_MaxU, R3TID_FLOAT, 0);
- }
-
- R3FRSURFA_MinV = 438505;
- function GetR3FRSURFA_MinV() {
- return R3Get(this.r3obj, R3FRSURFA_MinV, R3TID_FLOAT, 0);
- }
-
- R3FRSURFA_MaxV = 438506;
- function GetR3FRSURFA_MaxV() {
- return R3Get(this.r3obj, R3FRSURFA_MaxV, R3TID_FLOAT, 0);
- }
-
-
-
- function r3Frsurface () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_FRSURFACE, arguments);
- }
- // Methods
- this.ISRENDERCLASS=mR3FRSURFM_ISRENDERCLASS;
- this.CHANNELQUERY=mR3FRSURFM_CHANNELQUERY;
- this.ENUMMAPPEDOBJECTS=mR3FRSURFM_ENUMMAPPEDOBJECTS;
-
- // Attributes
- this.GetPointRenderAttrs=GetR3FRSURFA_PointRenderAttrs;
- this.SetPointRenderAttrs=SetR3FRSURFA_PointRenderAttrs;
- this.GetMinU=GetR3FRSURFA_MinU;
- this.GetMaxU=GetR3FRSURFA_MaxU;
- this.GetMinV=GetR3FRSURFA_MinV;
- this.GetMaxV=GetR3FRSURFA_MaxV;
- }
-
- r3Frsurface.prototype=new r3Frhob;
- // r3frsurf.h_H